package com.xuxin.baby.contract;

import com.xuxin.baby.bean.CategoryBean;
import com.xuxin.baby.presenter.CategoryPresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/22 0022
 * 早教分类/保健分类
 */
public interface CategoryContract {

    interface Model {

        void getCategory(CategoryPresenter presenter, String tenantId, String token, String layout, String parentId);
    }

    interface View extends BaseContract.view {

        void onSuccess(CategoryBean categoryBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getCategory(String tenantId, String token, String layout, String parentId);

        void onSuccess(CategoryBean categoryBean);
    }
}